package com.example.dockercompose.domain;


import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @author ZhenWuWang
 */
@Entity
@Table(name = "visitor")
@Data
public class Visitor
{
    @Id
    @Column(name = "id")
    private Long id;

    @Column(name = "ip")
    private String ip;

    @Column(name = "times")
    private Long times;
}
